package com.feature50.clarity.formui;

import com.feature50.clarity.misc.ClarityProgressMonitor;

public class NullProgressMonitor implements ClarityProgressMonitor {
    private boolean cancelled = false;

    public void setCaption(String name) {}
    public void setSubcaption(String name) {}
    public void setTaskSize(int totalUnits) {}
    public void setUnknownTaskSize(boolean unknown) {}
    public void unitsCompleted(int units) {}
    public void done() {}

    public boolean isCancelled() {
        return cancelled;
    }

    public void setCancelled(boolean cancelled) {
        this.cancelled = cancelled;
    }
}